package Demo;

import java.util.Scanner;

public class Oh4 {
	public static void main(String[]args) {
		int a;
		int b;
		Scanner scanner = new Scanner (System.in);
		
		System.out.println("请输入第一个数");
		a= scanner.nextInt();
		
		System.out.println("请输入第二个数");
		b= scanner.nextInt();
		
		if(a<b) {
			a=b;
		}
		System.out.println("请输入第二个数");
		b= scanner.nextInt();
		
		if(a>b) {
			System.out.println(a);
		}else {
			System.out.println(b);
		}
		
	}
}